from django import forms
from .models import UserModel


class UserRegisterForm(forms.ModelForm):
    class Meta:
        model = UserModel
        fields = '__all__'
class UserLoginForm(forms.ModelForm):
    """登陆表单"""
    class Meta:
        model = UserModel
        fields = ['username','password']

